﻿using System;

namespace NDBGen.Descriptors.Columns
{
    public abstract class ColumnDescriptorBase : IColumnDescriptor
    {
        protected virtual void Init(Table table, Column column)
        {
            this.Table = table;
            this.Column = column;
        }

        void IColumnDescriptor.Init(Table table, Column column)
        {
            this.Init(table, column);
        }

        public Table Table { get; private set; }
        public Column Column { get; private set; }
    }
}
